package net.zdsoft.wpchat.support.entity;

import java.util.Date;

import org.apache.commons.lang.builder.EqualsBuilder;

/**
 * 后台用户实体类
 *
 * @author xuan
 */
public class Operator {
    private String id;
    private String loginName;
    private String name;
    private String password;
    private String regionRule;
    private int state;
    private Date creationTime;
    private int type;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRegionRule() {
        return regionRule;
    }

    public void setRegionRule(String regionRule) {
        this.regionRule = regionRule;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    @Override
    public boolean equals(Object obj) {
        return EqualsBuilder.reflectionEquals(this, obj);
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

}
